package com.genia.ba02;

/**
 * @author genia
 * @date 2022/5/6-13:46
 */
public class Director {
    public void direct(){
        MoAttack moAttack = new MoAttack();

        //调用属性Setter方法注入
        Geli geli = new LiuDeHua();
        moAttack.setGeli(geli);
        moAttack.cityGateAsk();
    }

    public static void main(String[] args) {
        new Director().direct();
    }
}
